package cn.exrick.xboot.modules.content.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * @author hml
 */
@Data
@Entity
@Table(name = "hont_post")
@TableName("hont_post")
@ApiModel(value = "岗位")
public class HontPost extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位名")
    private String title;

    @ApiModelProperty(value = "关联表单id")
    private String formId;

    @Transient
    @TableField(exist=false)
    @ApiModelProperty(value = "表单名称")
    private String formTitle;
    @Transient
    @TableField(exist=false)
    @ApiModelProperty(value = "部门数据")
    private String depart;

}